package com.situ.project1.service;

import com.situ.project1.pojo.Employee;
import com.situ.project1.util.PaginateInfo;

import java.time.LocalDateTime;
import java.util.List;

/**
 * @author:yzy
 * @date:2024/8/10
 */
public interface EmployeeService {
    List<Employee> findAll(PaginateInfo pi, Employee employee);

    boolean add(Employee employee);

    boolean update(Employee employee);

    boolean delete(Integer[] ids);

    List<Employee> findRest(LocalDateTime startTime,LocalDateTime endTime);

    Employee findEmpId(String empName);
}
